package com.ybox.app.mapper;

import com.ybox.app.domain.AppCollectType;
import com.ybox.app.domain.example.AppCollectTypeExample;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AppCollectTypeMapper {
    /**
     * countByExample
     *
     * @param example example
     * @return long long
     */
    long countByExample(AppCollectTypeExample example);

    /**
     * deleteByExample
     *
     * @param example example
     * @return int int
     */
    int deleteByExample(AppCollectTypeExample example);

    /**
     * deleteByPrimaryKey
     *
     * @param typeId typeId
     * @return int int
     */
    int deleteByPrimaryKey(Integer typeId);

    /**
     * insert
     *
     * @param row row
     * @return int int
     */
    int insert(AppCollectType row);

    /**
     * insertSelective
     *
     * @param row row
     * @return int int
     */
    int insertSelective(AppCollectType row);

    /**
     * selectByExample
     *
     * @param example example
     * @return List<AppCollectType> List<AppCollectType>
     */
    List<AppCollectType> selectByExample(AppCollectTypeExample example);

    /**
     * selectByPrimaryKey
     *
     * @param typeId typeId
     * @return AppCollectType AppCollectType
     */
    AppCollectType selectByPrimaryKey(Integer typeId);

    /**
     * updateByExampleSelective
     *
     * @param row     row
     * @param example example
     * @return int int
     */
    int updateByExampleSelective(@Param("row") AppCollectType row, @Param("example") AppCollectTypeExample example);

    /**
     * updateByExample
     *
     * @param row     row
     * @param example example
     * @return int int
     */
    int updateByExample(@Param("row") AppCollectType row, @Param("example") AppCollectTypeExample example);

    /**
     * updateByPrimaryKeySelective
     *
     * @param row row
     * @return int int
     */
    int updateByPrimaryKeySelective(AppCollectType row);

    /**
     * updateByPrimaryKey
     *
     * @param row row
     * @return int int
     */
    int updateByPrimaryKey(AppCollectType row);

    int updateBatch(List<AppCollectType> list);

    int updateBatchSelective(List<AppCollectType> list);
}